$(function(){
	setInterval(function(){
		$.ajax({
			type : 'POST',
			url : ThinkPHP['AJAX'],
			data : {
				oid : ThinkPHP['OID']
			},
			success : function(response){
				if (response == 7) window.location.href = ThinkPHP['TIP'];
			}
		});
	},1000);
});